<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="./js/date.js"></script>
</head>
<body>
</body>
<script>
   if(true){
       let a =1;
       var b =2;
   }

    alert(b)
   alert(a)


</script>
</html>